package com.ruoyi.yljf.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.yljf.domain.Book;
import lombok.Data;

/**
 * @AUTHOR XiaoYang
 * @DATE 2025/1/3
 * @DESCRIPTION
 */
@Data
public class BookVO extends Book {
    @Excel(name = "书籍分类")
    private String categoryName;

    public BookVO(Book item) {
        BeanUtils.copyProperties(item, this);
    }
}
